package com.zhihao.zhihaopicturebackend.model.dto.picture;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class SearchPictureByColorRequest implements Serializable {
  
    /**  
     * 图片主色调  
     */
//    @NotBlank(message = "图片主色调不能为空")
    private String picColor;  
  
    /**  
     * 空间 id  
     */
    @ApiModelProperty(value = "空间id")
    @NotNull(message = "id 不能为空")
    @Min(value = 1, message = "id 不能为负数")
    private Long spaceId;  
  
    private static final long serialVersionUID = 1L;  
}
